import { createApp } from 'vue'
import App from './App.vue'
import regirestryTime from './directives/index'
import regiPlugin1 from './plugins/plugin_funtion'
import regiPlugin from './plugins/index'
const app = createApp(App)
app.mixin({
  data () {
    return {}
  },
  methods: {},
  created () {
    console.log('app 全局混入')
  }
})
// 全局自定义指令
// app.directive('focus', {
//   mounted (el, binding, vnode, prenode) {
//     el.focus()
//   }
// })
app.use(regirestryTime)
app.use(regiPlugin)
app.use(regiPlugin1)

app.mount('#app')
